package middle.ground.db.dialect;


import middle.ground.db.constants.DbType;

/**
 * 方言工厂类
 *
 * @author jrl
 * @since 2020-03-14
 */
public class DialectFactory {

    private static final DialectRegistry DIALECT_REGISTRY = new DialectRegistry();

    public static DbDialect getDialect(DbType dbType) {
        return DIALECT_REGISTRY.getDialect(dbType);
    }
}
